package com.tedu.food.common.util;

import java.text.SimpleDateFormat;
import java.util.Date;

public class UUIDUtils {
    public static String getOrderIdByUUId() {
        return null;
    }
    public static String getOrderIdByTime() {
        SimpleDateFormat sdf = new SimpleDateFormat("yyyymmddhhmmss");
        String time = sdf.format(new Date());
       /* Random random = new Random();
        String result = "";
        for(int i=0;i<3;i++){
            result+=random.nextInt(10);
        }*/
        return time;
    }
}



